<template>
  <div>
    <div class="top">
      <ToggleSidebar :color="color"></ToggleSidebar>
      <router-link to="/pd/listen">
        <span>听听</span>
      </router-link>
      <router-link to="/pd/tuijian">
        <span>推荐</span>
      </router-link>
      <router-link to="/pd/feilei">
        <span>分类</span>
      </router-link>

      <router-link to="/speak">
        <i class="iconfont icon-weibiaoti--"></i>
      </router-link>
    </div>
    <router-view />
  </div>
</template>

<script>
export default {
  data() {
    return {
      color:
        "display: inline-block; font-size: 0.42rem width:auto;height:auto;background-color: #ffffff;",
    };
  },
};
</script>

<style scoped>
.top {
  padding: 0.26rem 0.12rem 0.32rem 0.3rem;
  display: flex;
  justify-content: space-between;
  height: 1.28rem;
  align-content: center;
}
a {
  font-size: 0.34rem;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  color: gray;
}
.icon-toggle,
.icon-weibiaoti-- {
  font-size: 0.45rem;
}
</style>
